package com.zzj.service;

import com.github.pagehelper.PageInfo;
import com.zzj.bean.ProductBean;
import com.zzj.utils.Result;

import java.util.List;

public interface ProductService {
    /**
     * 通过ooid查询该合同编号的所有产品
     * @return
     */
    PageInfo<ProductBean> getProductByOoid(int pageNum,int pageSize,String ooid);

    Result addProduct(List<ProductBean> productBeans);

    PageInfo<ProductBean> findAll(int pageNum,int pageSize);

    PageInfo<ProductBean> findAllQualityByState(int pageNum,int pageSize,String pstate);
}
